# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        Young  
# Name:         demo7_03
# Description:  为函数添加注释文档
# Author:       asus
# Date:         2019/3/11
#-------------------------------------------------------------------------------


def add(x,y):
    "计算两个数的和"
    return x + y
#__doc__获得注释
print(add.__doc__)
#help获得注释
help(add)